/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"ED3C7950-CA75-4017-B0E1-BF3920DAA140",variableType:4}
 */
var fInactivo = 0;

/**
 * @properties={typeid:24,uuid:"d150a64b-bd1f-4cf7-8338-275157a30d78"}
 * @AllowToRunInFind
 */
function DeshabilitarInactivos()
{
if (fInactivo == 1)
{
	controller.find()
	activo = 1
	controller.search()
}
else
	controller.loadAllRecords()
}

/**
 * @properties={typeid:24,uuid:"8d0b4a81-c7b5-48ca-af0d-fc374298f6db"}
 */
function Esconder_Boton()
{
forms.navigator_socios.elements.Lista_de_Socios.enabled = 0

forms.navigator_socios.elements.Detalle.enabled = 1
forms.navigator_socios.elements.Actividades.enabled = 1
forms.navigator_socios.elements.buscar.enabled = 1

forms.navigator_socios.elements.reincorporar.visible = 0
forms.navigator_socios.elements.baja.visible = 0
forms.navigator_socios.elements.alta.visible = 0
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"8A0EC452-F6ED-47C9-8136-986F4C3077C9"}
 */
function inscribir(event) {
	forms.inscriptos_alta_2.fSocio = codigo_socio
	var $win = application.createWindow('INS',JSWindow.MODAL_DIALOG)
	forms.inscriptos_alta_2.controller.show($win)
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"02F58F14-6125-44F7-86C9-7A6742D0DF25"}
 */
function nuevoSocio(event) {
	var $win = application.createWindow('ALTA_SOCIO',JSWindow.MODAL_DIALOG)
	forms.socios_alta.controller.show($win)
}
